/*
 * @Author: coocase
 * @Date: 2021-03-12 11:11:06
 * @LastEditTime: 2021-03-26 11:40:41
 * @LastEditors: coocase
 * @Description: 
 * @FilePath: \git\dami\src\common\http\http.js
 */
import * as url from './api'
import request from './request'

export function postRequest(params){
    return request('post',url[params.api],{...params.data})
}

export function getRequest(params){
    return request('get',url[params.api],{...params.data})
}
